from datetime import timedelta
import os
SESSION_REFRESH_EACH_REQUEST= True
PERMANENT_SESSION_LIFETIME = timedelta(hours=1)
SECRET_KEY = os.urandom(24)
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:@localhost:3306/mydb'
# 'mysql+pymysql://用户名称:密码@localhost:端口/数据库名称'
SQLALCHEMY_TRACK_MODIFICATIONS = True